package com.Module;

public class Administor {
    private int id ;
    private String name ;
    private String department ;
    private String address ;
    private int year ;
    private String password;

    public Administor(int id, String name, String department, String address, int year, String password) {
        this.id = id;
        this.name = name;
        this.department = department;
        this.address = address;
        this.year = year;
        this.password=password;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Administor{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", department='" + department + '\'' +
                ", address='" + address + '\'' +
                ", year=" + year +
                ", password='" + password + '\'' +
                '}';
    }
}
